From 4330f200132556039ade00036197c3d60df6a432 Mon Sep 17 00:00:00 2001 From: Ignacio Hugo Gomez Date: Thu, 31 Mar 2022 08:18:16 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 925990bb..34c66144 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ create the transaction, sign it and then send it. let privateKey = try! EthereumPrivateKey(hexPrivateKey: "0xa26da69ed1df3ba4bb2a231d506b711eace012f1bd2571dfbfff9650b03375af") firstly { web3.eth.getTransactionCount(address: privateKey.address, block: .latest) -}.then { nonce in +}.then { nonce -> Promise in let tx = try EthereumTransaction( nonce: nonce, gasPrice: EthereumQuantity(quantity: 21.gwei),