Skip to content

Commit

Permalink
fix: migration transfermiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Apr 15, 2024
1 parent 2da489b commit a7a23c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bech32-migration/transfermiddleware/transfermiddleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc cod
store := ctx.KVStore(storeKey)

relayAddressPrefix := []byte{1}
iterator := sdk.KVStorePrefixIterator(store, relayAddressPrefix)
iterator := sdk.KVStorePrefixIterator(store, types.KeyRlyAddress)

for ; iterator.Valid(); iterator.Next() {
allowRelayAddressCount++
Expand Down

0 comments on commit a7a23c9

Please sign in to comment.