diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-04-26 13:55:13 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-08-12 14:53:10 +0200 |
commit | b3b3c2a5623d5c942d2b3565cc2d833c65105555 (patch) | |
tree | e354177eedaff7b846cf910e2a2d99cae3042cf1 /src/validationinterface.cpp | |
parent | 0d0abcac1efeb94f441aa13714ba01ccfacc05c0 (diff) |
Reduce cs_main locks during ConnectTip/SyncWithWallets
Diffstat (limited to 'src/validationinterface.cpp')
-rw-r--r-- | src/validationinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp index 8da0c72858..cf1d6ca086 100644 --- a/src/validationinterface.cpp +++ b/src/validationinterface.cpp @@ -48,6 +48,6 @@ void UnregisterAllValidationInterfaces() { g_signals.UpdatedBlockTip.disconnect_all_slots(); } -void SyncWithWallets(const CTransaction &tx, const CBlockIndex *pindex, const CBlock *pblock) { - g_signals.SyncTransaction(tx, pindex, pblock); +void SyncWithWallets(const CTransaction &tx, const CBlockIndex *pindex, int posInBlock) { + g_signals.SyncTransaction(tx, pindex, posInBlock); } |