From 64a3e084c6079a31e5b9ea4ad0c64bea43ebc885 Mon Sep 17 00:00:00 2001 From: xiaohuo Date: Tue, 13 Aug 2024 22:11:52 +0800 Subject: [PATCH] chore: add comment for dummy txn receipt --- chainio/txmgr/simple.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chainio/txmgr/simple.go b/chainio/txmgr/simple.go index 942ff76e..fb714e20 100644 --- a/chainio/txmgr/simple.go +++ b/chainio/txmgr/simple.go @@ -67,6 +67,8 @@ func (m *SimpleTxManager) WithGasLimitMultiplier(multiplier float64) *SimpleTxMa // If you pass in a signed transaction it will ignore the signature // and resign the transaction after adding the nonce and gas limit. // To check out the whole flow on how this works, check out the README.md in this folder +// One should be aware of that if waitForReceipt is set to false, the function returns a dummy transaction +// receipt with a transaction hash. func (m *SimpleTxManager) Send( ctx context.Context, tx *types.Transaction,