mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +00:00
add expected result comment
This commit is contained in:
parent
a572c1d5e3
commit
bde7af7b45
1 changed files with 3 additions and 2 deletions
|
@ -270,8 +270,8 @@ abstract class LibEpiccash {
|
||||||
}) async {
|
}) async {
|
||||||
try {
|
try {
|
||||||
var result = await compute(_getTransactionsWrapper, (
|
var result = await compute(_getTransactionsWrapper, (
|
||||||
wallet: wallet,
|
wallet: wallet,
|
||||||
refreshFromNode: refreshFromNode,
|
refreshFromNode: refreshFromNode,
|
||||||
));
|
));
|
||||||
|
|
||||||
if (result.toUpperCase().contains("ERROR")) {
|
if (result.toUpperCase().contains("ERROR")) {
|
||||||
|
@ -310,6 +310,7 @@ abstract class LibEpiccash {
|
||||||
///
|
///
|
||||||
/// Cancel current Epic transaction
|
/// Cancel current Epic transaction
|
||||||
///
|
///
|
||||||
|
/// returns an empty String on success, error message on failure
|
||||||
static Future<String> cancelTransaction({
|
static Future<String> cancelTransaction({
|
||||||
required String wallet,
|
required String wallet,
|
||||||
required String transactionId,
|
required String transactionId,
|
||||||
|
|
Loading…
Reference in a new issue