OSDN Git Service

Mov (#518)
[bytom/vapor.git] / proposal / proposal_test.go
index 73de939..026c627 100644 (file)
@@ -283,7 +283,7 @@ func TestCountCoinbaseTxRewards(t *testing.T) {
                }
 
                // create coinbase transaction
-               c.block.Transactions[0], err = createCoinbaseTx(nil, c.block.Height, rewards)
+               c.block.Transactions[0], err = createCoinbaseTxByReward(nil, c.block.Height, rewards)
                if err != nil {
                        t.Fatal(err)
                }