Skip to content

Commit

Permalink
Merge pull request #3 from mirrorworld-universe/feat
Browse files Browse the repository at this point in the history
feat: Add hypergrid node retrieval in CreateSolanaAccount function
  • Loading branch information
ZeneDeLuca authored Jul 4, 2024
2 parents 1174a8f + 87507ac commit 9b41063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/hypergridssn/keeper/msg_server_solana_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (k msgServer) CreateSolanaAccount(goCtx context.Context, msg *types.MsgCrea
return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "index already set")
}

//TODO: get hypergrid node from msg.Source
//get hypergrid node from msg.Source
node, found := k.GetHypergridNode(goCtx, msg.Source)
if !found {
return nil, errorsmod.Wrap(sdkerrors.ErrKeyNotFound, "source not found")
Expand Down

0 comments on commit 9b41063

Please sign in to comment.