OSDN Git Service

Wallet store test (#312)
[bytom/vapor.git] / database / wallet_store.go
index a0c2a36..c0bf9f9 100644 (file)
@@ -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 {
 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--
                }
                        annotatedTxs = append([]*query.AnnotatedTx{annotatedTx}, annotatedTxs...)
                        txNum--
                }
-
        }
 
        return annotatedTxs, nil
        }
 
        return annotatedTxs, nil