go fmt.
This commit is contained in:
parent
c2dec81b0c
commit
c4a0b70835
1 changed files with 1 additions and 1 deletions
|
@ -2041,7 +2041,7 @@ func SignRawTransaction(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
|
||||||
// SigHashSingle inputs can only be signed if there's a
|
// SigHashSingle inputs can only be signed if there's a
|
||||||
// corresponding output. However this could be already signed,
|
// corresponding output. However this could be already signed,
|
||||||
// so we always verify the output.
|
// so we always verify the output.
|
||||||
if (hashType & btcscript.SigHashSingle) == 0 ||
|
if (hashType&btcscript.SigHashSingle) == 0 ||
|
||||||
i < len(msgTx.TxOut) {
|
i < len(msgTx.TxOut) {
|
||||||
|
|
||||||
script, err := btcscript.SignTxOutput(cfg.Net(),
|
script, err := btcscript.SignTxOutput(cfg.Net(),
|
||||||
|
|
Loading…
Reference in a new issue