OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22935ac
)
fix leak 2 (#562)
author
Paladz
<yzhu101@uottawa.ca>
Wed, 27 Jan 2021 07:36:25 +0000
(15:36 +0800)
committer
GitHub
<noreply@github.com>
Wed, 27 Jan 2021 07:36:25 +0000
(15:36 +0800)
Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
wallet/utxo.go
patch
|
blob
|
history
diff --git
a/wallet/utxo.go
b/wallet/utxo.go
index
278853a
..
0c9971a
100644
(file)
--- a/
wallet/utxo.go
+++ b/
wallet/utxo.go
@@
-112,9
+112,6
@@
func (w *Wallet) filterAccountUtxo(utxos []*account.UTXO) []*account.UTXO {
result := make([]*account.UTXO, 0, len(utxos))
for s := range outsByScript {
if !segwit.IsP2WScript([]byte(s)) {
- for _, utxo := range outsByScript[s] {
- result = append(result, utxo)
- }
continue
}