Skip to content

Getting - Dummy value must be set to "" - after some of the method calls #120

Open
@jhincapie

Description

@jhincapie

Hello,

I am writing a little script to split coins from one address into four. So far, only using the testnet and BitcoinCore 0.21. When calling some of the methods returns the error 'Dummy value must be set to ""'. So, the method to getbalance works great, but the method sendmany fails. Here is an example of the output:

CoinSplitter
Balance: 0.02574542
Unhandled exception. BitcoinLib.ExceptionHandling.Rpc.RpcInternalServerErrorException: Dummy value must be set to ""
---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at BitcoinLib.RPC.Connector.RpcConnector.MakeRequest[T](RpcMethods rpcMethod, Object[] parameters) in /home/jhincapie/Desktop/CoinSplitter/bitcoinlib/src/BitcoinLib/RPC/Connector/RpcConnector.cs:line 57
--- End of inner exception stack trace ---
at BitcoinLib.RPC.Connector.RpcConnector.MakeRequest[T](RpcMethods rpcMethod, Object[] parameters) in /home/jhincapie/Desktop/CoinSplitter/bitcoinlib/src/BitcoinLib/RPC/Connector/RpcConnector.cs:line 106
at BitcoinLib.Services.CoinService.SendMany(String fromAccount, Dictionary`2 toBitcoinAddress, Int32 minConf, String comment) in /home/jhincapie/Desktop/CoinSplitter/bitcoinlib/src/BitcoinLib/Services/RpcServices/RpcService/RpcService.cs:line 621
at CoinSplitter.Program.Main(String[] args) in /home/jhincapie/Desktop/CoinSplitter/Program.cs:line 41

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions