Skip to content

Commit 9e262e6

Browse files
committed
chore: found the places where no minting voucher should be done.
1 parent 5547965 commit 9e262e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cardano/onchain/validators/spending_transfer_module.ak

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ fn handler_callback(
264264
packet.source_channel,
265265
data.denom,
266266
) {
267+
// TODO: check no minting voucher here
267268
let voucher_prefix_len =
268269
transfer_coin.get_denom_prefix(
269270
packet.source_port,
@@ -794,6 +795,7 @@ fn validate_refund_packet_token(
794795
packet.source_channel,
795796
data.denom,
796797
) {
798+
// TODO: check no minting voucher here
797799
expect Some(escrowed_token_unit) =
798800
string_utils.hex_string_to_bytes(data.denom)
799801
trace @"spend_transfer_module: demon convert to token unit valid"

0 commit comments

Comments
 (0)