Skip to content

samplecoin eth.transact() data format #80

Closed
@cdetrio

Description

@cdetrio

The samplecoin example unbin() data formatting doesn't work properly. Digging through eth-go turned up the problem, which is this line expecting arguments to be separated by newlines.

Using join("\n") to prepare the data works correctly. I haven't tested what difference .pad(32) makes, but it seems to work without it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions