mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 06:01:48 +02:00
Merge pull request #6594 from yyforyongyu/fix-data-race
channeldb: fix data race in TestSerializeRevocationLog
This commit is contained in:
@@ -213,6 +213,7 @@ func TestSerializeRevocationLog(t *testing.T) {
|
|||||||
|
|
||||||
// Copy the testRevocationLog.
|
// Copy the testRevocationLog.
|
||||||
rl := testRevocationLog
|
rl := testRevocationLog
|
||||||
|
rl.HTLCEntries = []*HTLCEntry{&testHTLCEntry}
|
||||||
|
|
||||||
// Write the tlv stream.
|
// Write the tlv stream.
|
||||||
buf := bytes.NewBuffer([]byte{})
|
buf := bytes.NewBuffer([]byte{})
|
||||||
|
@@ -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
|
* [Minor fix](https://github.com/lightningnetwork/lnd/pull/6535) to
|
||||||
how bitcoind.rpccookie and bitocind.config are parsed from config file.
|
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
|
## RPC Server
|
||||||
|
|
||||||
* [Add value to the field
|
* [Add value to the field
|
||||||
|
Reference in New Issue
Block a user