From 5cb4e0271245f7f95a13052d38175353342546c8 Mon Sep 17 00:00:00 2001 From: Charlie Tilt Date: Wed, 29 Jun 2022 02:53:16 -0600 Subject: [PATCH] Minor fix to Readme (#129) [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e813f57c..0b604a3c 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ More detailed documentation can be found [here](#account). ```typescript it("should estimate fee", async function () { - const fee = contract.estimateFee("increase_balance", { amount: 10n }); + const fee = await contract.estimateFee("increase_balance", { amount: 10n }); console.log("Estimated fee:", fee.amount, fee.unit); }); ```