1
- package com . flashwifi . flashwrapper ;
1
+ package iotaFlashWrapper ;
2
2
3
- import com . flashwifi . flashwrapper .Model .*;
3
+ import iotaFlashWrapper .Model .*;
4
4
5
5
import java .io .IOException ;
6
6
import java .util .ArrayList ;
@@ -134,7 +134,7 @@ public static void main(String[] argv) throws Exception {
134
134
/*
135
135
136
136
// Supplying the CORRECT varibles to create a closing bundle
137
- bundles = com.flashwifi.flashwrapper. Helpers.createTransaction(
137
+ bundles = Helpers.createTransaction(
138
138
oneFlash,
139
139
oneFlash.getFlash().getSettlementAddresses(),
140
140
true
@@ -144,10 +144,10 @@ public static void main(String[] argv) throws Exception {
144
144
/// SIGN BUNDLES
145
145
146
146
// Get signatures for the bundles
147
- oneSignatures = com.flashwifi.flashwrapper. Helpers.signTransaction(oneFlash, bundles)
147
+ oneSignatures = Helpers.signTransaction(oneFlash, bundles)
148
148
149
149
// Generate USER TWO'S Singatures
150
- twoSignatures = com.flashwifi.flashwrapper. Helpers.signTransaction(twoFlash, bundles)
150
+ twoSignatures = Helpers.signTransaction(twoFlash, bundles)
151
151
152
152
// Sign bundle with your USER ONE'S signatures
153
153
signedBundles = transfer.appliedSignatures(bundles, oneSignatures)
@@ -159,12 +159,12 @@ public static void main(String[] argv) throws Exception {
159
159
/// APPLY SIGNED BUNDLES
160
160
161
161
// Apply transfers to User ONE
162
- oneFlash = com.flashwifi.flashwrapper. Helpers.applyTransfers(oneFlash, signedBundles)
162
+ oneFlash = Helpers.applyTransfers(oneFlash, signedBundles)
163
163
// Save latest channel bundles
164
164
oneFlash.bundles = signedBundles
165
165
166
166
// Apply transfers to User TWO
167
- twoFlash = com.flashwifi.flashwrapper. Helpers.applyTransfers(twoFlash, signedBundles)
167
+ twoFlash = Helpers.applyTransfers(twoFlash, signedBundles)
168
168
// Save latest channel bundles
169
169
twoFlash.bundles = signedBundles
170
170
0 commit comments