Jack Grigg
8 years ago
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with
6 additions and
6 deletions
-
src/utiltest.cpp
|
|
@ -51,9 +51,9 @@ CWalletTx GetValidReceive(ZCJoinSplit& params, |
|
|
|
|
|
|
|
// Add the signature
|
|
|
|
assert(crypto_sign_detached(&mtx.joinSplitSig[0], NULL, |
|
|
|
dataToBeSigned.begin(), 32, |
|
|
|
joinSplitPrivKey |
|
|
|
) == 0); |
|
|
|
dataToBeSigned.begin(), 32, |
|
|
|
joinSplitPrivKey |
|
|
|
) == 0); |
|
|
|
|
|
|
|
CTransaction tx {mtx}; |
|
|
|
CWalletTx wtx {NULL, tx}; |
|
|
@ -135,9 +135,9 @@ CWalletTx GetValidSpend(ZCJoinSplit& params, |
|
|
|
|
|
|
|
// Add the signature
|
|
|
|
assert(crypto_sign_detached(&mtx.joinSplitSig[0], NULL, |
|
|
|
dataToBeSigned.begin(), 32, |
|
|
|
joinSplitPrivKey |
|
|
|
) == 0); |
|
|
|
dataToBeSigned.begin(), 32, |
|
|
|
joinSplitPrivKey |
|
|
|
) == 0); |
|
|
|
CTransaction tx {mtx}; |
|
|
|
CWalletTx wtx {NULL, tx}; |
|
|
|
return wtx; |
|
|
|