File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { MaticTx } from "../types/matic";
1515export type AssetId =
1616 | "SOL_TEST"
1717 | "SOL"
18- | "ETH_TEST3 "
18+ | "ETH_TEST5 "
1919 | "ETH_TEST6"
2020 | "ETH"
2121 | "ATOM_COS_TEST"
@@ -85,12 +85,12 @@ export class FbSigner {
8585 try {
8686 const assetArgs = assetId
8787 ? {
88- assetId,
89- source : {
90- type : PeerType . VAULT_ACCOUNT ,
91- id : this . vaultId . toString ( ) ,
92- } ,
93- }
88+ assetId,
89+ source : {
90+ type : PeerType . VAULT_ACCOUNT ,
91+ id : this . vaultId . toString ( ) ,
92+ } ,
93+ }
9494 : { } ;
9595
9696 const tx : TransactionArguments = {
@@ -115,7 +115,7 @@ export class FbSigner {
115115 */
116116 public async signTypedMessage (
117117 eip712message : any ,
118- assetId : "ETH" | "ETH_TEST3 " | "ETH_TEST6" ,
118+ assetId : "ETH" | "ETH_TEST5 " | "ETH_TEST6" ,
119119 note ?: string ,
120120 ) : Promise < TransactionResponse > {
121121 try {
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export class MaticService extends Service {
135135
136136 const fbSigner = this . getFbSigner ( integration ) ;
137137 const fbNote = note ? note : "MATIC tx from @kilnfi/sdk" ;
138- const fbTx = await fbSigner . sign ( payload , this . testnet ? "ETH_TEST3 " : "ETH" , fbNote ) ;
138+ const fbTx = await fbSigner . sign ( payload , this . testnet ? "ETH_TEST5 " : "ETH" , fbNote ) ;
139139 const { data } = await api . post < MaticSignedTx > ( `/v1/matic/transaction/prepare` , {
140140 unsigned_tx_serialized : tx . data . unsigned_tx_serialized ,
141141 r : `0x${ fbTx ?. signedMessages ?. [ 0 ] . signature . r } ` ,
@@ -163,7 +163,7 @@ export class MaticService extends Service {
163163
164164 const fbSigner = this . getFbSigner ( integration ) ;
165165 const fbNote = note ? note : "MATIC tx from @kilnfi/sdk" ;
166- const assetId = this . testnet ? "ETH_TEST3 " : "ETH" ;
166+ const assetId = this . testnet ? "ETH_TEST5 " : "ETH" ;
167167 return await fbSigner . signAndBroadcastWith (
168168 payload ,
169169 assetId ,
You can’t perform that action at this time.
0 commit comments