Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sendmany strips amounts from array #17

Open
flound1129 opened this issue Feb 11, 2014 · 0 comments
Open

Sendmany strips amounts from array #17

flound1129 opened this issue Feb 11, 2014 · 0 comments

Comments

@flound1129
Copy link

flound1129 commented Feb 11, 2014

I've spent several hours now trying to get sendmany working . I finally appear to have everything in the correct format, however for some reason sendmany appears to be stripping the amounts from the array I pass it.

Here's what var_dump tells me it's passing to sendmany:

array(2) {
  ["AcRHK6pzn2iT7e4xTZzYQDEitjXN3ecLaj"]=>
  float(0.06643307)
  ["Ae2ZwXUFyymNo3JVkKAjT9k3akURK7bmxo"]=>
  float(6.630817816701)
}

However when I run a tcpdump on the daemon I see the following:

"method": "sendmany",
"params": [ 
  "default",
  {"AcRHK6pzn2iT7e4xTZzYQDEitjXN3ecLaj":"","Ae2ZwXUFyymNo3JVkKAjT9k3akURK7bmxo":""},
  1
],
"id": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants