Merge pull request #742 from wpaulino/bitcoind-conn-atomic-alignment
chain: fix alignment of atomic integers in bitcoind conn struct
This commit is contained in:
commit
fe61cc5d78
1 changed files with 2 additions and 2 deletions
|
@ -91,13 +91,13 @@ type BitcoindConn struct {
|
||||||
started int32 // To be used atomically.
|
started int32 // To be used atomically.
|
||||||
stopped int32 // To be used atomically.
|
stopped int32 // To be used atomically.
|
||||||
|
|
||||||
cfg BitcoindConfig
|
|
||||||
|
|
||||||
// rescanClientCounter is an atomic counter that assigns a unique ID to
|
// rescanClientCounter is an atomic counter that assigns a unique ID to
|
||||||
// each new bitcoind rescan client using the current bitcoind
|
// each new bitcoind rescan client using the current bitcoind
|
||||||
// connection.
|
// connection.
|
||||||
rescanClientCounter uint64
|
rescanClientCounter uint64
|
||||||
|
|
||||||
|
cfg BitcoindConfig
|
||||||
|
|
||||||
// client is the RPC client to the bitcoind node.
|
// client is the RPC client to the bitcoind node.
|
||||||
client *rpcclient.Client
|
client *rpcclient.Client
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue