File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ impl AppTrait for App {
7070 . create_v1_post_request ( ) ;
7171 let http = http_agent ( & self . config ) ?;
7272 let body = String :: from_utf8 ( req. body . clone ( ) ) . unwrap ( ) ;
73-
73+
7474 let fallback_tx = Psbt :: from_str ( & body)
7575 . map_err ( |e| anyhow ! ( "Failed to load PSBT from base64: {}" , e) ) ?
7676 . extract_tx ( ) ?;
@@ -81,7 +81,6 @@ impl AppTrait for App {
8181 ) ;
8282 println ! ( "Sending fallback request to {}" , & req. url) ;
8383
84-
8584 let response = match http
8685 . post ( req. url )
8786 . header ( "Content-Type" , req. content_type )
Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ mod e2e {
212212 let receiver_rpchost = format ! ( "http://{}/wallet/receiver" , bitcoind. params. rpc_socket) ;
213213 let sender_rpchost = format ! ( "http://{}/wallet/sender" , bitcoind. params. rpc_socket) ;
214214 let cookie_file = & bitcoind. params . cookie_file ;
215- let pj_endpoint = "https://localhost" ;
216215 let payjoin_cli = env ! ( "CARGO_BIN_EXE_payjoin-cli" ) ;
217216
218217 let cert = local_cert_key ( ) ;
You can’t perform that action at this time.
0 commit comments