Skip to content

Commit

Permalink
Remove todos
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Sep 12, 2024
1 parent 96847fd commit 2114dcf
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions e2e/runner/ton/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,6 @@ func ConstructWalletFromPrivateKey(pk ed25519.PrivateKey, client blockchain) (*A
return nil, nil, errors.Wrap(err, "failed to construct account")
}

// // todo addresses don't match! Why?????
// // todo probably state init doesn't match....
// // ACC INIT ADDR 0:da797e6dcdfcbd3e05a35dd45a240287668890bb2981005ac0775b840eeb62af (EXISTS)
// // WALLET ADDR 0:e071859fa4a95e41249e721f87717278ca7e68dcce74aace483c695284eb7284 (DOESN'T EXIST)
//
// // todo
// fmt.Println("ACC INIT ADDR", accInit.ID.ToRaw())
// fmt.Println("WALLET ADDR", w.GetAddress().ToRaw())
//
// // Double-check the balance
// b, err := w.GetBalance(ctx)
// if err != nil {
// return nil, errors.Wrap(err, "failed to get balance")
// }
//
// balanceCoins := math.NewUint(b)
// if !amount.Equal(balanceCoins) {
// return nil, fmt.Errorf(
// "unexpected balance for %s. Got %s, want %s",
// w.GetAddress().ToRaw(),
// FormatCoins(balanceCoins),
// FormatCoins(amount))
// }

// If state init and internal tongo's wallet.stateInit are the same,
// then addresses should match.
if accInit.ID.String() != w.GetAddress().String() {
Expand Down

0 comments on commit 2114dcf

Please sign in to comment.