|
|
@ -682,10 +682,10 @@ static void MutateTx(CMutableTransaction& tx, const std::string& command, |
|
|
|
else if (command == "outaddr") |
|
|
|
else if (command == "outaddr") |
|
|
|
MutateTxAddOutAddr(tx, commandVal); |
|
|
|
MutateTxAddOutAddr(tx, commandVal); |
|
|
|
else if (command == "outpubkey") { |
|
|
|
else if (command == "outpubkey") { |
|
|
|
if (!ecc) { ecc.reset(new Secp256k1Init()); } |
|
|
|
ecc.reset(new Secp256k1Init()); |
|
|
|
MutateTxAddOutPubKey(tx, commandVal); |
|
|
|
MutateTxAddOutPubKey(tx, commandVal); |
|
|
|
} else if (command == "outmultisig") { |
|
|
|
} else if (command == "outmultisig") { |
|
|
|
if (!ecc) { ecc.reset(new Secp256k1Init()); } |
|
|
|
ecc.reset(new Secp256k1Init()); |
|
|
|
MutateTxAddOutMultiSig(tx, commandVal); |
|
|
|
MutateTxAddOutMultiSig(tx, commandVal); |
|
|
|
} else if (command == "outscript") |
|
|
|
} else if (command == "outscript") |
|
|
|
MutateTxAddOutScript(tx, commandVal); |
|
|
|
MutateTxAddOutScript(tx, commandVal); |
|
|
@ -693,7 +693,7 @@ static void MutateTx(CMutableTransaction& tx, const std::string& command, |
|
|
|
MutateTxAddOutData(tx, commandVal); |
|
|
|
MutateTxAddOutData(tx, commandVal); |
|
|
|
|
|
|
|
|
|
|
|
else if (command == "sign") { |
|
|
|
else if (command == "sign") { |
|
|
|
if (!ecc) { ecc.reset(new Secp256k1Init()); } |
|
|
|
ecc.reset(new Secp256k1Init()); |
|
|
|
MutateTxSign(tx, commandVal); |
|
|
|
MutateTxSign(tx, commandVal); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|