Skip to content

Commit 28721d3

Browse files
committed
fix(wasm-sdk): only unwrap StateTransitionResult for broadcast_and_wait
wait_for_response returns T directly, not StateTransitionResult<T>, so into_inner() is not needed there.
1 parent 12484ec commit 28721d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/wasm-sdk/src/state_transitions/broadcast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl WasmSdk {
6969
WasmSdkError::generic(format!("Failed to wait for state transition result: {}", e))
7070
})?;
7171

72-
convert_proof_result(result.into_inner()).map_err(WasmSdkError::from)
72+
convert_proof_result(result).map_err(WasmSdkError::from)
7373
}
7474

7575
/// Broadcasts a state transition and waits for the result.

0 commit comments

Comments
 (0)