LayerXcom / zero-chain

A privacy-preserving blockchain on Substrate
https://layerxcom.github.io/zerochain-book/
GNU General Public License v3.0
260 stars 42 forks source link

Can't debug send. #160

Closed ashWhiteHat closed 4 years ago

ashWhiteHat commented 4 years ago

I created the wallet. It showed up the error when I executed the ./target/release/zface debug send.

➜  zero-chain git:(master) ✗ ./target/release/zface wallet list
* alice: 5EDB7hPS8JibuftAxeb5r4UvwFmk8d5f8wwLkNpnGeTxwH2c
➜  zero-chain git:(master) ✗ ./target/release/zface debug send -t 5EDB7hPS8JibuftAxeb5r4UvwFmk8d5f8wwLkNpnGeTxwH2c -a 100
Preparing paramters...
ERROR 2019-12-23T17:22:09Z: ws::handler: WS Error <Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })>
thread 'main' panicked at 'must not be empty: RecvError', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
ashWhiteHat commented 4 years ago

This error occurs following function. https://github.com/LayerXcom/polkadot.rs/blob/master/src/lib.rs#L186

ashWhiteHat commented 4 years ago

I just forgot to run Zero Chain. It just mistakes. Sorry.