update utxopool

pull/5/merge
Minh Doan 7 years ago
parent 12cc01da3c
commit c45ed9439f
  1. 2
      blockchain/utxopool.go

@ -8,7 +8,7 @@ import (
type UTXOPool struct { type UTXOPool struct {
// Mapping from address to a map of transaction id to that balance. // Mapping from address to a map of transaction id to that balance.
// The assumption here is that one address only appears once output array in a transaction. // The assumption here is that one address only appears once output array in a transaction.
utxo map[string]map[string]int utxo map[string]map[string]map[int]int
} }
// VerifyTransactions verifies if a list of transactions valid. // VerifyTransactions verifies if a list of transactions valid.

Loading…
Cancel
Save