Skip to content

Commit 601917a

Browse files
philippwernercyber-pc
authored andcommitted
Fix bug in creating doge oracle query tx
1 parent 206d699 commit 601917a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qubic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ static void processBroadcastCustomMiningSolution(RequestResponseHeader* header)
15891589

15901590
auto* tx = reinterpret_cast<OracleUserQueryTransactionPrefix*>(buffer);
15911591
tx->sourcePublicKey = computorPublicKeys[i];
1592-
tx->destinationPublicKey = { 0 };
1592+
tx->destinationPublicKey = m256i::zero();
15931593
tx->amount = 0;
15941594
tx->tick = system.tick + 8; // offset of 8 ticks to ensure propagation through the network
15951595
tx->inputType = OracleUserQueryTransactionPrefix::transactionType();

0 commit comments

Comments
 (0)