Hello,
There's a mismatch in theTxReceipt of the mint function between the candid and the rust implementation
In Rust it's Nat and in candid it's Nat64
candid
type MintResult = variant {
Ok : TransactionId;
Err: MintError;
};
type TransactionId = nat64;
|
type TransactionId = nat64; |
Rust implementation
pub type TxReceipt = Result<Nat, TxError>;
|
pub async fn mint(to: Principal, _amount: Nat) -> TxReceipt { |
Hello,
There's a mismatch in the
TxReceiptof the mint function between the candid and the rust implementationIn Rust it's
Natand in candid it'sNat64candid
dank/candid/xtc.did
Line 59 in 965e3df
Rust implementation
dank/xtc/src/ledger.rs
Line 310 in f80e1e4