Skip to content

Commit 0d0c960

Browse files
committed
Register spent transaction with txid or blockid raw bytes not hex string
1 parent 3d54a66 commit 0d0c960

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/client/structs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use bitcoin::{
1212
use serde::{Deserialize, Serialize};
1313
use silentpayments::{receiving::Label, SilentPaymentAddress};
1414

15-
type SpendingTxId = String;
16-
type MinedInBlock = String;
15+
type SpendingTxId = [u8; 32];
16+
type MinedInBlock = [u8; 32];
1717

1818
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
1919
pub enum OutputSpendStatus {

0 commit comments

Comments
 (0)