Change in MN payout settings

Hi all! Need to change MN payout address and percentage as one of my nodes is now shared with a friend. I tried redoing masternode helper registration with new settings but getting an error “bad-protx-dup-key (code -4)”. Looks like something is duplicated. Suggestions? Many thanks.

1 Like

+1
any luck? I’d suspect you need to de-register it somehow first

@alar102 I’m trying this command, looks promising:

protx_update_registrar “proTxHash” “operatorPubKey” “votingAddress” “payoutAddress” ( “feeSourceAddress” )

Creates and sends a ProUpRegTx to the network. This will update the operator key, voting key and payout
address of the masternode specified by “proTxHash”.
The owner key of the masternode must be known to your wallet.

Arguments:

  1. proTxHash (string, required) The hash of the initial ProRegTx.
  2. operatorPubKey (string, required) The operator BLS public key. The BLS private key does not have to be known.
    It has to match the BLS private key which is later used when operating the masternode.
    If set to an empty string, the currently active operator BLS public key is reused.
  3. votingAddress (string, required) The voting key address. The private key does not have to be known by your wallet.
    It has to match the private key which is later used when voting on proposals.
    If set to an empty string, the currently active voting key address is reused.
  4. payoutAddress (string, required) The Syscoin address to use for masternode reward payments.
    If set to an empty string, the currently active payout address is reused.
  5. feeSourceAddress (string, optional, default="") If specified wallet will only use coins from this address to fund ProTx.
    If not specified, payoutAddress is the one that is going to be used.
    The private key belonging to this address must be known in your wallet.

Result:
“hex” (string) The transaction hash in hex

Examples:

protx_update_registrar 1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d 003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63 tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r