@btc-vision/btc-runtime 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -236,7 +236,8 @@ export class BlockchainEnvironment {
|
|
|
236
236
|
public hasStorageAt(pointer: u16, subPointer: MemorySlotPointer): bool {
|
|
237
237
|
// We mark zero as the default value for the storage, if something is 0, the storage slot get deleted or is non-existent
|
|
238
238
|
const val: u256 = this.getStorageAt(pointer, subPointer, u256.Zero);
|
|
239
|
-
|
|
239
|
+
|
|
240
|
+
return u256.ne(val, u256.Zero);
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
public setStorageAt(
|