Make sure protx_update_registrar adds enough funds for the fees
FundSpecialTx must take the size of signature into account.
This commit is contained in:
parent
f65e74682a
commit
3c1f44c3a2
@ -553,6 +553,9 @@ UniValue protx_update_registrar(const JSONRPCRequest& request)
|
||||
tx.nVersion = 3;
|
||||
tx.nType = TRANSACTION_PROVIDER_UPDATE_REGISTRAR;
|
||||
|
||||
// make sure we get anough fees added
|
||||
ptx.vchSig.resize(65);
|
||||
|
||||
FundSpecialTx(tx, ptx);
|
||||
SignSpecialTxPayloadByHash(tx, ptx, keyOwner);
|
||||
SetTxPayload(tx, ptx);
|
||||
|
Loading…
Reference in New Issue
Block a user