Skip to content

Commit

Permalink
use utils
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Jul 8, 2024
1 parent 2b6a884 commit a406777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/launchtools/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func deriveAddress(mnemonic string) (string, string, error) {
addrBz := privKey.PubKey().Address()

// use init Bech32 prefix for l1 address
l1Addr, err := l1AddressFromBytes(addrBz)
l1Addr, err := utils.L1AddressCodec().BytesToString(addrBz)
if err != nil {
return "", "", errors.Wrap(err, "failed to convert address to bech32")
}
Expand Down

0 comments on commit a406777

Please sign in to comment.