Skip to content

Commit

Permalink
<fix>(demo): change fabric receiver for htlc demo (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shareong authored Dec 17, 2020
1 parent 05f80d6 commit e2b0fcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .ci/ci_demo_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ login org1-admin 123456
listAccount
listResources
setDefaultAccount Fabric1.4 1
call payment.fabric.htlc balanceOf User1@org1.example.com
newHTLCProposal payment.fabric.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000
call payment.fabric.htlc balanceOf User1@org2.example.com
newHTLCProposal payment.fabric.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000
quit
EOF
cd ..
Expand All @@ -112,7 +112,7 @@ login org2-admin 123456
listAccount
listResources
call payment.bcos.htlc balanceOf 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf
newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000
newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000
quit
EOF
cd ..
Expand All @@ -134,7 +134,7 @@ EOF
login org1-admin 123456
listAccount
listResources
call payment.fabric.htlc balanceOf User1@org1.example.com
call payment.fabric.htlc balanceOf User1@org2.example.com
quit
EOF
cd ..
Expand Down
4 changes: 2 additions & 2 deletions demo/htlc_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ main() {

LOG_INFO "Config htlc successfully!\n"
LOG_INFO "Now, you can make a cross-chain transfer by WeCross console using following command!\n"
echo -e "[BCOS user ]: newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000
\n[Fabric user]: newHTLCProposal payment.fabric.${FABRIC_HTLC} bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000
echo -e "[BCOS user ]: newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000
\n[Fabric user]: newHTLCProposal payment.fabric.${FABRIC_HTLC} bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000
"
}

Expand Down

0 comments on commit e2b0fcf

Please sign in to comment.