correct interpretation on how materialize affects the metadata
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
169cb516a1
commit
904e817c30
@ -66,7 +66,7 @@ contract Gatekeeper is IGatekeeper, IGatekeeperMetadata {
|
|||||||
|
|
||||||
if (_incorrectSignature(rx, s, message)) revert WrongSignature();
|
if (_incorrectSignature(rx, s, message)) revert WrongSignature();
|
||||||
ghostedSupply -= amount;
|
ghostedSupply -= amount;
|
||||||
_metadata.amountIn += uint104(amount); // forge-lint: disable-line(unsafe-typecast)
|
_metadata.amountOut += uint104(amount); // forge-lint: disable-line(unsafe-typecast)
|
||||||
emit Materialized(receiver, amount);
|
emit Materialized(receiver, amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user