X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=wallet%2Futxo_test.go;h=9588a040ad2e11f1d0e33afdf94893fb0a9069d4;hb=a4d2fccbb6638bee6a8afa2af4df6e3989b91609;hp=2df108c3bc27ab9fe63b05818e80d3cdc3de55f6;hpb=51100c2a5afb320a9b16674f8c66b067fe760eb3;p=bytom%2Fvapor.git diff --git a/wallet/utxo_test.go b/wallet/utxo_test.go index 2df108c3..9588a040 100644 --- a/wallet/utxo_test.go +++ b/wallet/utxo_test.go @@ -554,7 +554,7 @@ func TestTxOutToUtxos(t *testing.T) { ControlProgram: []byte{0x51}, SourceID: bc.NewHash([32]byte{0xb4, 0x7e, 0x94, 0x31, 0x88, 0xfe, 0xd3, 0xe9, 0xac, 0x99, 0x7c, 0xfc, 0x99, 0x6d, 0xd7, 0x4d, 0x04, 0x10, 0x77, 0xcb, 0x1c, 0xf8, 0x95, 0x14, 0x00, 0xe3, 0x42, 0x00, 0x8d, 0x05, 0xec, 0xdc}), SourcePos: 0, - ValidHeight: 198, + ValidHeight: consensus.MainNetParams.CoinbasePendingBlockNumber + 98, }, }, }, @@ -745,7 +745,7 @@ func TestTxOutToUtxos(t *testing.T) { ControlProgram: []byte{0x52}, SourceID: bc.Hash{V0: 14680680172533616824, V1: 32429899179491316, V2: 15399988966960786775, V3: 17411722803888206567}, SourcePos: 1, - ValidHeight: 100, + ValidHeight: consensus.MainNetParams.CoinbasePendingBlockNumber, }, }, },