bridge/e2e: fix panic in testSolanaToTerraLockup

This commit is contained in:
Leo 2021-01-25 16:29:20 +01:00
parent a33505e0f9
commit 7201b64a77
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ func testSolanaToTerraLockup(t *testing.T, ctx context.Context, tc *TerraClient,
// Get balance if deployed
beforeCw20, err := getTerraBalance(ctx, terraToken)
if err != nil {
beforeCw20 = new(big.Int)
t.Log(err) // account may not yet exist, defaults to 0
}
t.Logf("CW20 balance: %v", beforeCw20)