-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output inscription ID from ord wallet inscribe
#1208
Conversation
tests/server.rs
Outdated
@@ -185,12 +162,12 @@ fn inscription_content() { | |||
|
|||
rpc_server.mine_blocks(1); | |||
|
|||
let inscription_id = create_inscription(&rpc_server, "foo.txt"); | |||
let output = inscribe(&rpc_server); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use refutable pattern
tests/server.rs
Outdated
} | ||
|
||
#[test] | ||
fn home_page_includes_latest_inscriptions() { | ||
let rpc_server = test_bitcoincore_rpc::spawn(); | ||
create_wallet(&rpc_server); | ||
|
||
let inscription_id = create_inscription(&rpc_server, "foo.png"); | ||
let output = inscribe(&rpc_server); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use refutable pattern
tests/server.rs
Outdated
} | ||
|
||
#[test] | ||
fn home_page_includes_latest_inscriptions() { | ||
let rpc_server = test_bitcoincore_rpc::spawn(); | ||
create_wallet(&rpc_server); | ||
|
||
let inscription_id = create_inscription(&rpc_server, "foo.png"); | ||
let output = inscribe(&rpc_server); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let output = inscribe(&rpc_server); | |
let Inscribe { inscription, .. } = inscribe(&rpc_server); |
No description provided.