Skip to content

Commit

Permalink
falls rawtx vor multisig empfangen wird pubkeys löschen
Browse files Browse the repository at this point in the history
  • Loading branch information
stallingerl committed May 24, 2022
1 parent 8ba7cb5 commit 789fea3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/p2p/pubsubListeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ export async function rästlerListener(topicReward) {
s.neuePubKeys = s.parsedKeys
console.log("s.neue Pubkeys = parsed Keys ")

// if rawtx was received before multiSig Address
if (s.rawtx !== undefined && s.solutionReceived) {
s.altePubKeys = s.neuePubKeys
s.neuePubKeys = []
console.log("Received rawtx before multiSig", s.neuePubKeys)
}

console.log("empfangene NextAddress: " + data.multiSigAddress + " muss gleich sein wie rekonstruierte: " + s.p2sh.payment.address)

if (s.ersteBezahlung == true) {
Expand Down

0 comments on commit 789fea3

Please sign in to comment.