From 9dc83286f2465a7592f611af82928da8e1143b4a Mon Sep 17 00:00:00 2001 From: "Mr. Banana" Date: Fri, 13 Dec 2024 20:02:50 -0800 Subject: [PATCH] Correct the nano decimal amount recommendation (#7) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6f93a6..dbf2b52 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Unrelated, do remember that Nano has harder work thresholds than Banano. ## Using for Nano instead of Banano -The main differences between Nano and Banano; or at least those relevant to a library like this, are the different amount of decimals. So, when creating a `Wallet` with banani, make sure to do `my_rpc.DECIMALS = 31` otherwise your sends will be off by two magnitudes which is bad. +The main differences between Nano and Banano; or at least those relevant to a library like this, are the different amount of decimals. So, when creating a `Wallet` with banani, make sure to do `rpc.DECIMALS = banani.NANO_DECIMALS` otherwise your sends will be off by one magnitude which is bad. Also, a different preamble should be used for message signing.