X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=database%2Fwallet_store.go;h=b810e46a756bf0d019b96ae7a50999ffbd16cffb;hp=85eb2e161a64f513c43a5ac0a9dfbb08def29f7f;hb=489e57ce3c46eb9e8ca25c7e966a1ea26fe41d57;hpb=5d4626d20a2e591b219f2e48b7391e5be1cf88ef;ds=sidebyside diff --git a/database/wallet_store.go b/database/wallet_store.go index 85eb2e16..b810e46a 100644 --- a/database/wallet_store.go +++ b/database/wallet_store.go @@ -246,7 +246,7 @@ func (store *WalletStore) GetGlobalTransactionIndex(txID string) []byte { func (store *WalletStore) GetStandardUTXO(outid bc.Hash) (*acc.UTXO, error) { rawUTXO := store.db.Get(StandardUTXOKey(outid)) if rawUTXO == nil { - return nil, fmt.Errorf("failed get standard UTXO, outputID: %s ", outid.String()) + return nil, wallet.ErrGetStandardUTXO } UTXO := new(acc.UTXO)