X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=database%2Fwallet_store.go;fp=database%2Fwallet_store.go;h=c0bf9f93d8da5f5b12d51ba24ddbbcd4875a05b3;hp=a0c2a36d28363c345774784303de3726ccb70bee;hb=e278744e6d00511a70af4e03161151fb88d1f542;hpb=947a1eb467d61c388785d9625c93713437da7608 diff --git a/database/wallet_store.go b/database/wallet_store.go index a0c2a36d..c0bf9f93 100644 --- a/database/wallet_store.go +++ b/database/wallet_store.go @@ -190,7 +190,7 @@ func (store *WalletStore) DeleteWalletTransactions() { } } -// DeleteWalletUTXOs delete all txs in wallet +// DeleteWalletUTXOs delete all utxos in wallet func (store *WalletStore) DeleteWalletUTXOs() { batch := store.db.NewBatch() if store.batch != nil { @@ -381,7 +381,6 @@ func (store *WalletStore) ListTransactions(accountID string, StartTxID string, c annotatedTxs = append([]*query.AnnotatedTx{annotatedTx}, annotatedTxs...) txNum-- } - } return annotatedTxs, nil