mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 00:55:49 +00:00
fix ClaimObject
This commit is contained in:
@@ -11,7 +11,7 @@ import { STObject } from './types/st-object'
|
|||||||
import { JsonObject } from './types/serialized-type'
|
import { JsonObject } from './types/serialized-type'
|
||||||
import { Buffer } from 'buffer/'
|
import { Buffer } from 'buffer/'
|
||||||
import bigInt = require('big-integer')
|
import bigInt = require('big-integer')
|
||||||
import { Amount } from './types/amount'
|
import { AmountObject } from './types/amount'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a BinaryParser
|
* Construct a BinaryParser
|
||||||
@@ -94,9 +94,9 @@ function signingData(
|
|||||||
/**
|
/**
|
||||||
* Interface describing fields required for a Claim
|
* Interface describing fields required for a Claim
|
||||||
*/
|
*/
|
||||||
interface ClaimObject {
|
interface ClaimObject extends JsonObject {
|
||||||
channel: string
|
channel: string
|
||||||
amount: Amount
|
amount: AmountObject
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user