Print swap history on --history flag

This commit is contained in:
Lucas Soriano del Pino 2020-11-03 16:44:04 +11:00 committed by rishflab
parent ecbfed9c11
commit ac2cfd7f65
4 changed files with 48 additions and 8 deletions

View file

@ -8,6 +8,11 @@ mod e2e_test {
use swap::{alice, bob, network::transport::build};
use testcontainers::clients::Cli;
// NOTE: For some reason running these tests overflows the stack. In order to
// mitigate this run them with:
//
// RUST_MIN_STACK=100000000 cargo test
#[tokio::test]
async fn swap() {
let alice_multiaddr: Multiaddr = "/ip4/127.0.0.1/tcp/9876"