tgerboui / nona-lib

TypeScript library to simplify interactions with the Nano currency node.
MIT License
6 stars 1 forks source link

Block creation uses invalid link #3

Closed luxbe closed 2 months ago

luxbe commented 3 months ago

When using Wallet.send, the parameter address is passed right to the Blocks.create as the link parameter. However, according to the RPC protocol docs, the link should be the public key of the target account, not the account (nano_...) itself.

tgerboui commented 3 months ago

Thanks for the report. I will fix it.