Skip to content

Commit

Permalink
monero -> wownero
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Dec 11, 2024
1 parent a931395 commit 9d06474
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cw_wownero/lib/api/transaction_history.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,19 +182,19 @@ void commitTransaction({required wownero.PendingTransaction transactionPointer})
final txCommit = wownero.PendingTransaction_commit(transactionPointer, filename: '', overwrite: false);

String? error = (() {
final status = monero.PendingTransaction_status(transactionPointer.cast());
final status = wownero.PendingTransaction_status(transactionPointer.cast());
if (status == 0) {
return null;
}
return monero.PendingTransaction_errorString(transactionPointer.cast());
return wownero.PendingTransaction_errorString(transactionPointer.cast());
})();
if (error == null) {
error = (() {
final status = monero.Wallet_status(wptr!);
final status = wownero.Wallet_status(wptr!);
if (status == 0) {
return null;
}
return monero.Wallet_errorString(wptr!);
return wownero.Wallet_errorString(wptr!);
})();

}
Expand Down

0 comments on commit 9d06474

Please sign in to comment.