Splitting side-node crate into lib/bin for integration tests
This commit is contained in:
@@ -24,9 +24,9 @@ pub(crate) fn home(name: &String) -> std::path::PathBuf {
|
||||
}
|
||||
|
||||
/// Generate a fake transaction with customizable from_pubkey String
|
||||
pub(crate) fn fake_transaction(from_pubkey: String) -> Value {
|
||||
pub fn fake_transaction_json(from: String) -> Value {
|
||||
json!({
|
||||
"from": from_pubkey,
|
||||
"from": from,
|
||||
"to": "Bob",
|
||||
"amount": 1
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user