}
}
-// DeleteStardardUTXO delete stardard utxo by outputID
-func (store *WalletStore) DeleteStardardUTXO(outputID bc.Hash) {
+// DeleteStandardUTXO delete stardard utxo by outputID
+func (store *WalletStore) DeleteStandardUTXO(outputID bc.Hash) {
if store.batch == nil {
store.walletDB.Delete(StandardUTXOKey(outputID))
} else {
CommitBatch() error
DeleteContractUTXO(bc.Hash)
DeleteRecoveryStatus()
- DeleteStardardUTXO(bc.Hash)
+ DeleteStandardUTXO(bc.Hash)
DeleteTransactions(uint64)
DeleteUnconfirmedTransaction(string)
DeleteWalletTransactions()
inputUtxos := txInToUtxos(tx, statusFail)
for _, inputUtxo := range inputUtxos {
if segwit.IsP2WScript(inputUtxo.ControlProgram) {
- w.store.DeleteStardardUTXO(inputUtxo.OutputID)
+ w.store.DeleteStandardUTXO(inputUtxo.OutputID)
} else {
w.store.DeleteContractUTXO(inputUtxo.OutputID)
}
}
if segwit.IsP2WScript(code) {
- w.store.DeleteStardardUTXO(*tx.ResultIds[j])
+ w.store.DeleteStandardUTXO(*tx.ResultIds[j])
} else {
w.store.DeleteContractUTXO(*tx.ResultIds[j])
}