We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd3230b commit 750a6a6Copy full SHA for 750a6a6
src/kimap.rs
@@ -557,8 +557,8 @@ impl Kimap {
557
let res = tokenCall::abi_decode_returns(&res_bytes, false)
558
.map_err(|_| EthError::RpcMalformedResponse)?;
559
560
- let bytes = res.tokenId.to_be_bytes::<32>();
561
- Ok(format!("0x{}", hex::encode(bytes)))
+ let namehash: FixedBytes<32> = res.tokenId.into();
+ Ok(format!("0x{}", hex::encode(namehash)))
562
}
563
564
/// Create a filter for all mint events.
0 commit comments