test: fix logging messages for funding push test

This commit is contained in:
Olaoluwa Osuntokun committed 2017-01-16 17:08:56 -08:00
1 parent c40cb496e1
commit dc280521dd
1 file changed
+2 -2
+2 -2
View File
@@ -231,11 +231,11 @@ func testBasicChannelFunding(net *networkHarness, t *harnessTest) {
t.Fatalf("unable to get bobs's balance: %v", err) t.Fatalf("unable to get bobs's balance: %v", err)
} }
if aliceBal.Balance != int64(chanAmt-pushAmt) { if aliceBal.Balance != int64(chanAmt-pushAmt) {
t.Fatalf("alice's balance is incorrect: expected %v got %x", t.Fatalf("alice's balance is incorrect: expected %v got %v",
chanAmt-pushAmt, aliceBal) chanAmt-pushAmt, aliceBal)
} }
if bobBal.Balance != int64(pushAmt) { if bobBal.Balance != int64(pushAmt) {
t.Fatalf("bob's balance is incorrect: expected %v got %x", t.Fatalf("bob's balance is incorrect: expected %v got %v",
pushAmt, bobBal) pushAmt, bobBal)
} }