sendtoaddress can't use fee_rate positional arg #20532

issue MarcoFalke opened this issue on November 30, 2020
  1. MarcoFalke commented at 11:42 AM on November 30, 2020: member

    Steps to reproduce (in the gui)

    sendtoaddress getnewaddress() 1.23 "foo" "bar" null null null "unset" null 0.001
    
    <- Cannot specify both estimate_mode and fee_rate (code -8) 
    
  2. MarcoFalke added the label Bug on Nov 30, 2020
  3. MarcoFalke added the label Wallet on Nov 30, 2020
  4. MarcoFalke added the label RPC/REST/ZMQ on Nov 30, 2020
  5. jonatack commented at 3:06 PM on November 30, 2020: member

    Should this issue be renamed to "GUI console does not recognize JSON null"?

    Reproduced in the GUI console; works fine in the RPC CLI.

    CLI

    $ ./src/bitcoin-cli -signet -rpcwallet="" sendtoaddress tb1qjcmjvaenagq40ly2fmluydlk97g8el403mprwj 1.23 "foo" "bar" null null null "unset" null 0.001
    error code: -6
    error message:
    Fee rate (0.001 sat/vB) is lower than the minimum fee rate setting (1.000 sat/vB)
    
    $ ./src/bitcoin-cli -signet -rpcwallet="" sendtoaddress tb1qjcmjvaenagq40ly2fmluydlk97g8el403mprwj 1.23 "foo" "bar" null null null "unset" null 1
    6b122687d7f0716fc42109e05fdb992fe756223cc09a7420d6f1d5391f7be108
    

    GUI console (signet)

    sendtoaddress tb1qjcmjvaenagq40ly2fmluydlk97g8el403mprwj 1.23 "foo" "bar" false false false "unset" null 1
    
    Cannot specify both conf_target and fee_rate. Please provide either a confirmation target in blocks for automatic fee estimation, or an explicit fee rate. (code -8)
    
  6. MarcoFalke commented at 3:08 PM on November 30, 2020: member
  7. MarcoFalke closed this on Nov 30, 2020

  8. jonatack commented at 3:09 PM on November 30, 2020: member

    Good find.

  9. MarcoFalke locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me