From 06e7cf38dbe5f1c0f12365338a4015b68add43a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Mets=C3=A4nheimo?= Date: Fri, 18 Oct 2019 22:49:52 +0300 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d072d0..084a62b 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ const data = { } // Returns a correctly formatted and signed block ready to be sent to the blockchain -const signedBlock = block.sign(data, privateKey) +const signedBlock = block.receive(data, privateKey) ``` Signing a send block @@ -125,7 +125,7 @@ const data = { } // Returns a correctly formatted and signed block ready to be sent to the blockchain -const signedBlock = block.sign(data, privateKey) +const signedBlock = block.send(data, privateKey) ``` Signing a change representative block @@ -151,7 +151,7 @@ const data = { } // Returns a correctly formatted and signed block ready to be sent to the blockchain -const signedBlock = block.sign(data, privateKey) +const signedBlock = block.representative(data, privateKey) ``` Converting units -- 2.34.1