Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: value conversion for TAP receipt
Browse files Browse the repository at this point in the history
Theodus committed Feb 1, 2024
1 parent 3a795d3 commit 3be4096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway-framework/src/scalar/receipts.rs
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ impl ReceiptSigner {
allocation_id: allocation.0 .0.into(),
timestamp_ns,
nonce,
value: fee.0.as_u128().unwrap_or(0),
value: fee.0.raw_u256().try_into().unwrap_or(0),
};
let wallet =
Wallet::from_bytes(self.signer.as_ref()).expect("failed to prepare receipt wallet");

0 comments on commit 3be4096

Please sign in to comment.