File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,10 @@ export const makeCreateAndFund = async (
5858 setValue,
5959 } ,
6060 seat ,
61- { chainName } ,
61+ offerArgs ,
6262) => {
63+ mustMatch ( offerArgs , M . splitRecord ( { chainName : M . string ( ) } ) ) ;
64+ const { chainName } = offerArgs ;
6365 const { give } = seat . getProposal ( ) ;
6466 const [ [ _kw , amt ] ] = Object . entries ( give ) ;
6567 trace ( 'orch' , orch ) ;
@@ -77,14 +79,14 @@ export const makeCreateAndFund = async (
7779
7880 const info = await chain . getChainInfo ( ) ;
7981 trace ( 'chain info' , info ) ;
80-
8182 const assets = await agoric . getVBankAssetInfo ( ) ;
8283 trace ( 'fetched assets:' , assets ) ;
83-
84+
8485 const localAccount = await agoric . makeAccount ( ) ;
8586 trace ( 'localAccount' , localAccount ) ;
8687
8788 const remoteAccount = await chain . makeAccount ( ) ;
89+
8890 trace ( 'remoteAccount' , remoteAccount ) ;
8991 const [ localAddress , remoteAddress ] = await Promise . all ( [
9092 localAccount . getAddress ( ) ,
You can’t perform that action at this time.
0 commit comments