Skip to content

Commit

Permalink
feat(FIL): default to testnet for unrecognized network
Browse files Browse the repository at this point in the history
  • Loading branch information
0x31 committed Nov 10, 2020
1 parent 19e46f9 commit 19401fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/FIL/FILHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class FILHandler
});

this.network =
network === "testnet" ? FilNetwork.TEST : FilNetwork.MAIN;
network === "mainnet" ? FilNetwork.MAIN : FilNetwork.TEST;

sharedState.filecoin = filecoin;
this.sharedState = sharedState;
Expand Down

0 comments on commit 19401fa

Please sign in to comment.