Removed hashType byte cast.
This commit is contained in:
parent
e6bdb4465d
commit
a9cf4a2bf5
1 changed files with 1 additions and 1 deletions
|
@ -2747,7 +2747,7 @@ func SignRawTransaction(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) (in
|
|||
btcscript.SigHashSingle || i < len(msgTx.TxOut) {
|
||||
|
||||
script, err := btcscript.SignTxOutput(activeNet.Params,
|
||||
msgTx, i, input, byte(hashType), getKey,
|
||||
msgTx, i, input, hashType, getKey,
|
||||
getScript, txIn.SignatureScript)
|
||||
// Failure to sign isn't an error, it just means that
|
||||
// the tx isn't complete.
|
||||
|
|
Loading…
Reference in a new issue