Fix history and balance with new GVA version

This commit is contained in:
poka 2021-06-30 02:07:19 +02:00
parent 9b33fc77a4
commit 7e255b20f0
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class Balance:
# Build balance generation document
queryBuild = gql(
"""
query ($pubkey: String!){
query ($pubkey: PkOrScriptGva!){
balance(script: $pubkey) {
amount
}

View File

@ -55,14 +55,14 @@ class History:
issuers
comment
outputs
writtenTime
receivedTime
}
receiving {
currency
issuers
comment
outputs
writtenTime
receivedTime
}
}
balance(script: $script) {