Skip to content

Commit

Permalink
Merge pull request #435 from icon-project/fix/get-nid-from-xcall
Browse files Browse the repository at this point in the history
fix: nid getter issue fixed cluster
  • Loading branch information
gcranju authored Feb 3, 2025
2 parents 2a117ee + 6ddb7d4 commit ed7d2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/solana/programs/cluster-connection/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fn get_nid<'info>(ctx: &Context<'_, '_, '_, 'info, ReceiveMessageWithSignatures<
invoke(&ix, &account_infos).unwrap();

let network_address = NetworkAddress::try_from_slice(&get_return_data().unwrap().1).unwrap();
return network_address.nid().to_string();
return network_address.nid().to_string();
}

fn verify_signatures(
Expand Down

0 comments on commit ed7d2b3

Please sign in to comment.