diff options
Diffstat (limited to 'ledger/ledgercore/error.go')
-rw-r--r-- | ledger/ledgercore/error.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ledger/ledgercore/error.go b/ledger/ledgercore/error.go index c54c6173c..68185a573 100644 --- a/ledger/ledgercore/error.go +++ b/ledger/ledgercore/error.go @@ -17,12 +17,16 @@ package ledgercore import ( + "errors" "fmt" "github.com/algorand/go-algorand/data/basics" "github.com/algorand/go-algorand/data/transactions" ) +// ErrNoSpace indicates insufficient space for transaction in block +var ErrNoSpace = errors.New("block does not have space for transaction") + // TransactionInLedgerError is returned when a transaction cannot be added because it has already been done type TransactionInLedgerError struct { Txid transactions.Txid |