Skip to content

Commit

Permalink
fix: value conversion for TAP receipt (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus authored Feb 1, 2024
1 parent 3a795d3 commit 2adab14
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
Expand Up @@ -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");
Expand Down

0 comments on commit 2adab14

Please sign in to comment.