Skip to content

Commit

Permalink
Merge pull request #6594 from yyforyongyu/fix-data-race
Browse files Browse the repository at this point in the history
channeldb: fix data race in TestSerializeRevocationLog
  • Loading branch information
Roasbeef committed May 31, 2022
2 parents 1e0d6ec + 2b5d535 commit 5ba033b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions channeldb/revocation_log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func TestSerializeRevocationLog(t *testing.T) {

// Copy the testRevocationLog.
rl := testRevocationLog
rl.HTLCEntries = []*HTLCEntry{&testHTLCEntry}

// Write the tlv stream.
buf := bytes.NewBuffer([]byte{})
Expand Down
3 changes: 3 additions & 0 deletions docs/release-notes/release-notes-0.15.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ from occurring that would result in an erroneous force close.](https://github.co
* [Minor fix](https://github.com/lightningnetwork/lnd/pull/6535) to
how bitcoind.rpccookie and bitocind.config are parsed from config file.

* [Fix a data race found when running unit test for revocation log](https://github.com/lightningnetwork/lnd/pull/6594).


## RPC Server

* [Add value to the field
Expand Down

0 comments on commit 5ba033b

Please sign in to comment.