diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-07 01:44:35 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-01-07 01:44:35 +0800 |
commit | 18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (patch) | |
tree | f346aa2c1de4c873ba7d7bf847225b2c319c5694 /contracts/chequebook | |
parent | ac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff) | |
download | go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.gz go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.bz2 go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.lz go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.xz go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.zst go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.zip |
all: fix spelling errors
Diffstat (limited to 'contracts/chequebook')
-rw-r--r-- | contracts/chequebook/cheque.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contracts/chequebook/cheque.go b/contracts/chequebook/cheque.go index 5ece1391b..d49964f91 100644 --- a/contracts/chequebook/cheque.go +++ b/contracts/chequebook/cheque.go @@ -252,7 +252,7 @@ func (self *Chequebook) Issue(beneficiary common.Address, amount *big.Int) (ch * return nil, fmt.Errorf("amount must be greater than zero (%v)", amount) } if self.balance.Cmp(amount) < 0 { - err = fmt.Errorf("insufficent funds to issue cheque for amount: %v. balance: %v", amount, self.balance) + err = fmt.Errorf("insufficient funds to issue cheque for amount: %v. balance: %v", amount, self.balance) } else { var sig []byte sent, found := self.sent[beneficiary] @@ -277,7 +277,7 @@ func (self *Chequebook) Issue(beneficiary common.Address, amount *big.Int) (ch * } // auto deposit if threshold is set and balance is less then threshold - // note this is called even if issueing cheque fails + // note this is called even if issuing cheque fails // so we reattempt depositing if self.threshold != nil { if self.balance.Cmp(self.threshold) < 0 { |