diff --git a/acbu_escrow/src/lib.rs b/acbu_escrow/src/lib.rs index 262ee5a..b78b211 100644 --- a/acbu_escrow/src/lib.rs +++ b/acbu_escrow/src/lib.rs @@ -216,7 +216,7 @@ impl Escrow { // CEI: write state before the external token transfer so any token-level // callback observes the escrow as already recorded. - env.storage() + env.storage() .temporary() .set(&key, &(payer.clone(), payee.clone(), amount, expiry)); diff --git a/build.rs b/build.rs index d1730e7..ff88564 100644 --- a/build.rs +++ b/build.rs @@ -122,9 +122,10 @@ fn verify_source_hashes() { } Err(e) => { eprintln!( - "cargo:warning=Could not read {} for hash check: {}", + "error[build]: Could not read {} for hash check: {}", path, e ); + process::exit(1); } } }