Skip to content

Commit

Permalink
v1.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedziwiatr committed May 31, 2023
1 parent d136f73 commit c1c8824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "warp-contracts",
"version": "1.4.9",
"version": "1.4.10",
"description": "An implementation of the SmartWeave smart contract protocol.",
"types": "./lib/types/index.d.ts",
"main": "./lib/cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/legacy/smartweave-global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { InteractionState } from '../contract/states/InteractionState';
*
*/

export type TransactionOrigin = "L1" | "L2";
export type TransactionOrigin = 'L1' | 'L2';

export class SmartWeaveGlobal {
gasUsed: number;
Expand Down Expand Up @@ -209,7 +209,7 @@ export class SWTransaction {
if (!this.smartWeaveGlobal._activeTx) {
throw new Error('No current Tx');
}
return this.smartWeaveGlobal._activeTx.source === 'redstone-sequencer' ? 'L2' : 'L1' ;
return this.smartWeaveGlobal._activeTx.source === 'redstone-sequencer' ? 'L2' : 'L1';
}
}

Expand Down

0 comments on commit c1c8824

Please sign in to comment.