}
// make sure accountUTXO existed in the db
- accountUTXOValue := db.Get(accountUTXOKey(string(outHash.Bytes())))
+ accountUTXOValue := db.Get(UTXOKey(outHash))
if accountUTXOValue == nil {
return nil, fmt.Errorf("can't find utxo: %s", outHash.String())
}