Skip to content

Sendmany strips amounts from array #17

Description

@flound1129

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions