-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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;
Line 59 in 965e3df
| type TransactionId = nat64; |
Rust implementation
pub type TxReceipt = Result<Nat, TxError>;
Line 310 in f80e1e4
| pub async fn mint(to: Principal, _amount: Nat) -> TxReceipt { |
Metadata
Metadata
Assignees
Labels
No labels